* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #121212;
}

.bowl {
    position: relative;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    border: 8px solid transparent;
    // transform-origin: bottom center;
    // animation: animate 5s linear infinite;

    &::before {
        // 碗口
        content: '';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 40%;
        height: 30px;
        border: 15px solid #444;
        border-radius: 50%;
        box-shadow: 0 10px #222;
    }

    &::after {
        content: '';
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150px;
        height: 80px;
        background: rgba(255, 255, 255, .1);
        border-radius: 50%;
    }

    .liquid {
        position: absolute;
        width: 100%;
        top: 50%;
        bottom: 5px;
        background-color: var(--clr);
        border-bottom-left-radius: 150px;
        border-bottom-right-radius: 150px;
        filter: drop-shadow(0 0 80px var(--clr));
        transform-origin: top center;
        animation: animation 5s linear infinite;

        &::before {
            content: '';
            position: absolute;
            top: -10px;
            width: 100%;
            height: 20px;
            background: #1fa4e0;
            border-radius: 50%;
            filter: drop-shadow(0 0 80px #1fa4e0);
        }
    }
}
.shadow{
    position: absolute;
    top: calc(50% + 150px);
    left: 50%;
    transform: translate(-50%,-50%);
    width: 300px;
    height: 30px;
    background: rgba(0,0,0,.5);
    border-radius: 50%;
}
@keyframes animate{
    0%{
        transform: rotate(0deg);
    }
    25%{
        transform: rotate(20deg);
    }
    50%{
        transform: rotate(0deg);
    }
    75%{
        transform: rotate(-20deg);
    }
    100%{
        transform: rotate(0deg);
    }
}
@keyframes animation{
    0%{
        transform: rotate(0deg);
    }
    25%{
        transform: rotate(15deg);
    }
    50%{
        transform: rotate(0deg);
    }
    75%{
        transform: rotate(-15deg);
    }
    100%{
        filter:hue-rotate(360deg);
        transform: rotate(0deg);
    }
}